Counting with Counterfree Automata
نویسنده
چکیده
We study the power of balanced regular leaf-languages. First, we investigate (i) regular languages that are polylog-time reducible to languages in dot-depth 1/2 and (ii) regular languages that are polylog-time decidable. For both classes we provide • forbidden-pattern characterizations, and • characterizations in terms of regular expressions. Both classes are decidable. The intersection of class (i) with their complement is exactly class (ii). We apply our observations and obtain three consequences. 1. Gap theorems for balanced regular-leaf-language definable classes C and D: (a) Either C is contained in NP, or C contains coUP. (b) Either D is contained in P, or D contains UP or coUP. Also we extend both theorems such that no promise classes are involved. Formerly, such gap theorems were known only for the unbalanced approach. 2. Polylog-time reductions can tremendously decrease dot-depth complexity (despite that they cannot count). We exploit a weak type of counting possible with counterfree automata, and construct languages of arbitrary dot-depth that are reducible to languages in dot-depth 1/2. 3. Unbalanced starfree leaf-languages can be much stronger than balanced ones. We construct starfree regular languages Ln such that the balanced leaf-language class of Ln is contained in NP, but the unbalanced leaf-language class of Ln contains level n of the unambiguous alternation hierarchy. This demonstrates the power of unbalanced computations.
منابع مشابه
On the Complexity of Membership and Counting in Height-Deterministic Pushdown Automata
Visibly pushdown languages properly generalise regular languages and are properly contained in deterministic context-free languages. The complexity of their membership problem is equivalent to that of regular languages. However, the corresponding counting problem – computing the number of accepting paths in a visibly pushdown automaton – could be harder than counting paths in a non-deterministi...
متن کاملUnconventional Finite Automata and Algorithms
We investigate several unconventional models of finite automata and algorithms. We show that two-way alternating automata can be smaller than fast bounded-error probabilistic automata. We introduce ultrametric finite automata which use p-adic numbers to describe the branching process of the computation. We examine the size complexity of all the abovementioned automata for the counting problem. ...
متن کاملApplications in Enumerative Combinatorics of Infinite Weighted Automata and Graphs
In this paper, we present a general methodology to solve a wide variety of classical lattice path counting problems in a uniform way. These counting problems are related to Dyck paths, Motzkin paths and some generalizations. The methodology uses weighted automata, equations of ordinary generating functions and continued fractions. This new methodology is called Counting Automata Methodology. It...
متن کاملKaspars Balodis Unconventional Finite Automata and Algorithms Doctoral
In this thesis we investigate several unconventional models of finite automata and algorithms. We start with more conventional types of automata and prove differentiation results for the descriptional complexity classes of twoway probabilistic and alternating finite automata. Then we introduce ultrametric finite automata which use p-adic numbers as amplitudes describing the branching process of...
متن کاملCounting and Equality Constraints for Multitree Automata
Multitree are unranked, unordered trees and occur in many Computer Science applications like rewriting and logic, knowledge representation, XML queries, typing for concurrent systems, cryptographic protocols.... We define constrained multitree automata which accept sets of multitrees where the constraints are expressed in a first-order theory of multisets with counting formulae which is very ex...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Electronic Colloquium on Computational Complexity (ECCC)
دوره شماره
صفحات -
تاریخ انتشار 2004